/**
 * @namespace Archetype.methodBuilders.logger
 * Add a log4J like logger to the component
 */
$N("Archetype.methodBuilders.logger", {
	regexp:"^.*$",

	/**
	 * Acts on the Archetype.Component definition method methodName (that matches "this.regexp")
	 *
	 * @param {Archetype.ComponentDefinition} component
	 * @param {Function} methodName
	 */
	build: function (component, methodName) {
		component._private._definition[methodName].name = component._private._definition.name + "." + methodName;
		component._private._definition[methodName].packageArray = component._private._definition[methodName].name.split(".");
	}
});
